Gdk/Win32: Fix resizing surfaces
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 2 Feb 2021 09:30:55 +0000 (17:30 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 2 Feb 2021 09:36:32 +0000 (17:36 +0800)
commit39e136e9b7666eb0dc9ad41c2cd50f7be87292df
tree4842ccdabd357f872501fa241eb329a8c1df9791
parent652b892fc1c44530a7bac7dd95cfbe43c6b43888
Gdk/Win32: Fix resizing surfaces

This attempts to fix the counter-intuitive resizing of surfaces in GTK4 where
the surface grows or shrinks at the right and/or bottom edge when the window
resized from the top and/or left edge(s).

This is not yet perfect as the window stutters upon resizing from the top
and/or left edges, but at least makes resizing more intuitive.
gdk/win32/gdksurface-win32.c
gdk/win32/gdksurface-win32.h